﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="TPackageTestAdd.aspx.cs" Inherits="ANTProductPackage_TPackageTestAdd"
    Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <script type="text/javascript" src="../js/JudgeInput.js"></script>

    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <div style="text-align: center;">
                <br />
                <br />
                <br />
                <br />
                <br />
                <table style="width: 60%; border: solid 1px black; margin: 0 auto;">
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            请扫描槽板序列号：
                        </td>
                        <td>
                            <asp:TextBox ID="TextBox1" runat="server" TabIndex="1"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
                                ErrorMessage="*" ValidationGroup="VGroup1"></asp:RequiredFieldValidator>
                        </td>
                        <td>
                            <asp:Button ID="Button1" runat="server" Text="提 交" ValidationGroup="VGroup1" OnClick="Button1_Click"
                                TabIndex="2" />
                        </td>
                    </tr>
                </table>
                <br />
                <br />
                <div style="text-align: center;">
                    <br />
                    <table style="width: 60%; border: solid 1px black; margin: 0 auto;">
                        <tr>
                            <td>
                                查询槽板序列号是否已经做包装记录：
                            </td>
                            <td>
                                <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBox2"
                                    ErrorMessage="*" ValidationGroup="VGroup2"></asp:RequiredFieldValidator>
                            </td>
                            <td>
                                <asp:Button ID="Button2" runat="server" Text="查 询" ValidationGroup="VGroup2" OnClick="Button2_Click" />
                            </td>
                        </tr>
                        <tr>
                            <td colspan="3">
                                <asp:GridView ID="GridView1" runat="server" BackColor="White" Width="100%" BorderColor="White"
                                    BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" CellSpacing="1" GridLines="None"
                                    AutoGenerateColumns="False">
                                    <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
                                    <Columns>
                                        <asp:BoundField DataField="ProductSN" HeaderText="槽板序列号" />
                                        <asp:BoundField DataField="RecordTime" HeaderText="记录时间" />
                                        <asp:BoundField DataField="UserID" HeaderText="操作员" />
                                    </Columns>
                                    <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
                                    <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
                                    <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
                                    <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
                                </asp:GridView>
                            </td>
                        </tr>
                    </table>
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
